package com.wobito.pojo.vo.person;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/**
 * @Author: lambyang
 * @CreateTime: 2024-09-11
 * @Description:
 * @Version: 1.0
 */
@Data
@ApiModel(value = "个人续借书籍入参")
public class personRenewalVO {

    @ApiModelProperty(value = "借阅人ID", required = true)
    private Long personId;

    @ApiModelProperty(value = "书籍ID", required = true)
    private Long bookId;

    @ApiModelProperty(value = "续借天数", required = true)
    @Min(1)
    @Max(30)
    private Integer renewalDay;
}
